cmake_minimum_required(VERSION 3.22.1)

project(statictest01)

set(SRC ${PROJECT_SOURCE_DIR}/static.cpp)

add_library(call SHARED ${SRC})
#add_library(static_static STATIC ${SRC})

#set_target_properties(static_shared PROPERTIES OUTPUT_NAME "callFunc")
#set_target_properties(static_static PROPERTIES OUTPUT_NAME "callFunc")

set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/staticlib)